From: Jan Djärv Date: Mon, 26 Jan 2004 23:40:08 +0000 (+0000) Subject: (mkdir, rmdir): Also check synch_process_termsig. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24361 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=30ac980776742cc1267fdec540c357805ef92697;p=emacs.git (mkdir, rmdir): Also check synch_process_termsig. --- diff --git a/src/sysdep.c b/src/sysdep.c index 441b36290e1..64fdbe8f8c9 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -3741,7 +3741,8 @@ mkdir (dpath, dmode) wait_for_termination (cpid); } - if (synch_process_death != 0 || synch_process_retcode != 0) + if (synch_process_death != 0 || synch_process_retcode != 0 + || synch_process_termsig != 0) { errno = EIO; /* We don't know why, but */ return -1; /* /bin/mkdir failed */ @@ -3787,7 +3788,8 @@ rmdir (dpath) wait_for_termination (cpid); } - if (synch_process_death != 0 || synch_process_retcode != 0) + if (synch_process_death != 0 || synch_process_retcode != 0 + || synch_process_termsig != 0) { errno = EIO; /* We don't know why, but */ return -1; /* /bin/rmdir failed */